Skip to main content

Full text of "Arduino"

See other formats

Arduino BiCMOS Curve Tracer 


Make Projects 

build, hack, tweak, share, discover. 

Arduino BiCMOS Curve Tracer 

Written By: Don Sauer 


This project shows how the analog input and output ports of an Arduino can be programmed 
to perform automated analog testing. The test results can then be saved as data in text files 
which can further be plotted into graphs. 

Step 1 — Arduino BiCMOS Curve Tracer 

M , N_m.s5UJLS_5yA_!W|>s 

Kwr_i D_equa i_3_3UA_sieps 

3.0 5.5 1.0 1.5 Z.O 2.5 3.0 3.5 4.0 4.5 5.0 


■I 1 1 1 H 

0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 50 
Colic ctor.ValtasO/ 

• The curve tracer can measure 
BiCMOS transistors of both 

© Make Projects 

Page 1 of 4 

Arduino BiCMOS Curve Tracer 

Step 2 



• Here is the whole circuit. 

Step 3 

Optional Cardboard PCB 
(Hot glue components (hen wire wrap) 

(for optional Cardboard PDB) 
Print Out This and Mount On Cardboard 

□ " o "" 

Can solder wire wrap leads one lead at a time 

alter everything Is working 

(yes it works) 

• This is a circuit which you may 
want to use more than once, and 
solderless breadboards are not 
usually meant for long-term use. 
An easy alternative is to build up a 
CardBoard printed circuit board. 
This involves printing out a layout, 
gluing the printout to cardboard and 
hot-gluing all the components in 
place. Then, wire-wrap up this 
simple circuit. 

© Make Projects 

Page 2 of 4 

Arduino BiCMOS Curve Tracer 

Step 4 



«™r ir """"'' ~ 9_ 

Open ttii» 

Application, tbea peete in the coda belro, 


• •t«f || 

J r .-"'-"- 

■anuria* i^ilii Bnrini iimniim 9B0D) '.'■ ii'll™,'"^*! 

^ «i - 

curV o_TEacor_Ar uinc_co o_bo ov 


u 'lV /sSFSSETllAi 

lac T ' 

L-K H ■ 


*"*?■ ™!^iT"iii« ir—tn 1 1 j 

"ii* * 

J, rr, « j 




f "■"■■'■ W 1 — "1 // 1* ■ |1K" 1*1. Jill III f-l^l 

i'"':!^" ; '■ ff EitSEm"^, "" 

■ *ll*U>Ht |MEl|l -p™-l 

• .-.I-'!-.,: .::-.l::L„. 

tHH^mMtrnqniUlt 'W |; yr t*t •" mni h 

{ .Lap. - 

L l ,i sn 9U f "*$ " "* J 



•:"! !:l 

aael'iLV- V. 1CSS, 5, buslit'.Hli 



i McME! " ui11 

JJ'll <>*» *- l-iLdtL) 

open this 

application, then pasta in the coda 

( ££T- 

m ,«, 


W i! finstrlq 1- iull| 

This code needs to be loaded into 

the Arduino window and the 

Processing window. The code can 

be copied and pasted into each 

window from the following page: 

Step 5 

Processing Code will start by typing S 
Write Data to file by typing W 

Date Modified 
i[j 2011.1l>.l£.15.35.23.m&t r Today, 3:36 FM 
JUk £ketch_ocrl?a.pdG Today, 2:53 PM 

• It takes a while for the graph 
window to come up. When it does, 
the curve tracing is started by first 
clicking the graph window, and then 
typing "s". The Processing code 
also writes the curve tracer data to 
a textfile. The 

Sketch/ShowSketchFolder menu 
will open up the proper folder. The 
file initially gets named the exact 
time the data was taken. It's not a 
bad idea to rename that file. 

© Make Projects 

Page 3 of 4 

Arduino BiCMOS Curve Tracer 

Step 6 

Rename to your path for NPN.mat 

■■cut Pkiti, BclLic Mal< 
i!t«-j.-.ii . \ in 

^.^^ Hit Return*^ 

■ ■ ■ ™«™ Dopjr_Pa et e _ I nt o_a c i LabjH i n don 

plot) H.,1 )J 

■t'.tlci: HPH D ciwil 5 JuA icim'. fellcrtor vsltnc- V' , 'cullertor current nV I : 

a ■> k &■•■* CO py _P4 « t ft I n tO_ S i M.b_H in dOtf- ■ «■■■«■«■■■■■«■■■■■■ mmm 

- ■ ™-™ Co py _Pa st •_! n to_ S c i L*.b_H Iji iow= ---■-=«■ 

■dui) PWOS to twili 

• Four SciLab command templates 
can graph the data files into 
curves, provided that the path to 
the files is corrected. The 
previously-mentioned web page 
has both these templates and 
templates for Octave as well. 

This document was last generated on 2012-11-01 09:48:22 PM. 

© Make Projects 

Page 4 of 4